package ae.pcfc.etks.online.common.domain;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TTscLicIssuingAuthority entity. @author Mohtisham.Salahria
 */
@Entity
@Table(name = "T_TSC_LIC_ISSUING_AUTHORITY", schema = "TSC_RW")
public class TTscLicIssuingAuthority implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String iaCode;
	private String iaDesc;
	private String iaDescArb;
	private String iaStatus;
	private String iaAllowAdd;

	// Constructors

	/** default constructor */
	public TTscLicIssuingAuthority() {
	}

	/** full constructor */
	public TTscLicIssuingAuthority(String iaDesc, String iaDescArb,
			String iaStatus) {
		this.iaDesc = iaDesc;
		this.iaDescArb = iaDescArb;
		this.iaStatus = iaStatus;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "IA_CODE", unique = true, nullable = false, length = 10)
	public String getIaCode() {
		return this.iaCode;
	}

	public void setIaCode(String iaCode) {
		this.iaCode = iaCode;
	}

	@Column(name = "IA_DESC", length = 50)
	public String getIaDesc() {
		return this.iaDesc;
	}

	public void setIaDesc(String iaDesc) {
		this.iaDesc = iaDesc;
	}

	@Column(name = "IA_DESC_ARB", length = 50)
	public String getIaDescArb() {
		return this.iaDescArb;
	}

	public void setIaDescArb(String iaDescArb) {
		this.iaDescArb = iaDescArb;
	}

	@Column(name = "IA_STATUS", length = 10)
	public String getIaStatus() {
		return this.iaStatus;
	}

	public void setIaStatus(String iaStatus) {
		this.iaStatus = iaStatus;
	}
	
	@Column(name = "IA_ALLOW_ADD", length = 1)
	public String getIaAllowAdd() {
		return iaAllowAdd;
	}

	public void setIaAllowAdd(String iaAllowAdd) {
		this.iaAllowAdd = iaAllowAdd;
	}

}